package com.wyzz.hr.action;

import java.util.List;

import com.wyzz.hr.base.BaseAction;
import com.wyzz.hr.bo.IEmpAddConfBo;

public class AttendanceCustomAction extends BaseAction {

	public AttendanceCustomAction() {
	}

	public String execute() throws Exception {
		IEmpAddConfBo empAddConfBo = (IEmpAddConfBo) BaseAction
				.getBean("empAddConfBo");
		allAttdaddconf = empAddConfBo.listByTable("attend");
		attdFreeList = empAddConfBo.listAllActiveFieldsByTable("attend",
				Integer.valueOf(24));
		return "success";
	}

	public List getAllAttdaddconf() {
		return allAttdaddconf;
	}

	public void setAllAttdaddconf(List allAttdaddconf) {
		this.allAttdaddconf = allAttdaddconf;
	}

	public List getAttdFreeList() {
		return attdFreeList;
	}

	public void setAttdFreeList(List attdFreeList) {
		this.attdFreeList = attdFreeList;
	}

	private List allAttdaddconf;
	private List attdFreeList;
	private static final int ATTDNUMBER = 24;
}
